<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class StationDimensionalityPatrolReportsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $reports = [
        	[
        		'company_id' => 1,
        		'project_id' => 1,
        		'station_id' => 1,
        		'station_name' => '门卫岗',
        		'genre_name' => '日班',
        		'actual_quantity' => 6,
        		'unreport_count' => 3,
        		'finish_rate' => 66.66,
        		'date' => '2018-05-09',
				'created_at' => date('Y-m-d H:i:s'),
				'updated_at' => date('Y-m-d H:i:s')
			],[
				'company_id' => 1,
        		'project_id' => 1,
        		'station_id' => 2,
        		'station_name' => '水池岗',
        		'genre_name' => '日班',
        		'actual_quantity' => 5,
        		'unreport_count' => 4,
        		'finish_rate' => 55.55,
        		'date' => '2018-05-09',
				'created_at' => date('Y-m-d H:i:s'),
				'updated_at' => date('Y-m-d H:i:s')
			],
		];

		DB::table('station_dimensionality_patrol_reports')->insert($reports);
    }
}
